Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Fixed issue #325 #585

Merged
merged 2 commits into from
May 12, 2020
Merged

Fixed issue #325 #585

merged 2 commits into from
May 12, 2020

Conversation

Xlaits
Copy link
Contributor

@Xlaits Xlaits commented May 4, 2020

I affirm:

  • that I agree to Project Topaz's Limited Contributor License Agreement, as written on this date
  • that I've tested my code since the last commit in the PR, and will test after any later commits

Copy link
Contributor

@zach2good zach2good left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats on your first PR, welcome to being a contributor! Just one point about commented out code and you should be good to go

if (tp < 1000) then
tp = 1000
end
--if (tp < 1000) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these aren't being used anymore, they can just be deleted 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intent was to floor at the minimum tp you could have in order to ws "just in case" some server decided to let you ws with less. I have no idea if thats even a problem but if it is I think that should be taken care of by whoever is customizing :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I believe it's not a necessary check either, as this function defaults to returning an ftp of 1 for invalid TP values anyway.

So I support the outright removal of the comment parts, @Xlaits ! 👍

Copy link
Contributor

@ibm2431 ibm2431 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, let's remove the commented lines. Otherwise this is good!

Congratulations on your first PR~! Happy to have you here with us!

if (tp < 1000) then
tp = 1000
end
--if (tp < 1000) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I believe it's not a necessary check either, as this function defaults to returning an ftp of 1 for invalid TP values anyway.

So I support the outright removal of the comment parts, @Xlaits ! 👍

@ibm2431 ibm2431 added the hold Requests have been made to merge label May 7, 2020
@ibm2431 ibm2431 merged commit 50d3ecb into project-topaz:release May 12, 2020
@ibm2431 ibm2431 removed the hold Requests have been made to merge label May 12, 2020
Copy link
Contributor

@ibm2431 ibm2431 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a commit that removed the previous commented lines! Approved.

@Xlaits
Copy link
Contributor Author

Xlaits commented May 14, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants